package com.zeratul.cloud.demo1.service.impl;

import com.zeratul.common.strategy.annotation.Strategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserServiceImpl3 extends UserServiceImpl {

    @Override
    @Strategy(el = "#id == 2")
    public void add(Integer id) {
        log.info("【新增用户】策略2.业务! {}", id);
    }
}
